
    <div class="fadeIn bg-unify bigScreen">
        <div class="unifyWidth">
            <div class="unifyTop">
                <h3><i></i>短信管理平台<span class="right"><img src="img/unify/exit.png" class="padR10" ><a href="#/smunifyMonitor">退出全屏</a></span></h3>
            </div>
            <div id="unifyBody" class="clearfix">
                <div class="unify-3 left">
                    <div class="unifyborder unifyYW">
                        <h4>业务系统</h4>
                        <ul class="clearfix">
                        	<li ng-class="{'YWactive': YWtabNum==4}" ng-click='transmission()'>传输速率</li>
                            <li ng-class="{'YWactive': YWtabNum==1}" ng-click='average()'>平均速率</li>
                            <li ng-class="{'YWactive': YWtabNum==2}" ng-click='send()'>已发送量</li>
                            <li ng-class="{'YWactive': YWtabNum==3}" ng-click='peak()'>峰值速率</li>
                            
                        </ul>
                        <div ng-if='show==2'>
                          <p class="YWtip">{{todayDate}}已发送短信量：</p>
                            <div class="row YWcon">
                              <!-- <div class="col-sm-3" style='padding:0'>
	                              <p class="YWleft" ng-repeat='item in sendData'>{{item.svrNodeName}}</p>
	                          </div> -->
	                          <div class="col-sm-8 itemMain">
	                              <div class="YWspeedBar-sm" ng-repeat='item in sendData'>
		                               <p class='itemNamet'>{{item.svrNodeName}}</p>
		                              <span ng-if='item.value/sendvalue*100<=80' ng-attr-style="width:{{(item.value/sendvalue*100).toFixed(2)}}%; background: #71cc21;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/sendvalue*100>80&&item.value/sendvalue*100<=90' ng-attr-style="width:{{(item.value/sendvalue*100).toFixed(2)}}%; background: #ffc600;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/sendvalue*100>90&&item.value/sendvalue*100<=95' ng-attr-style="width:{{(item.value/sendvalue*100).toFixed(2)}}%; background: #ff6000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/sendvalue*100>95&&item.value/sendvalue*100<=100' ng-attr-style="width:{{(item.value/sendvalue*100).toFixed(2)}}%; background: #ff0000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/sendvalue*100>100' style="width:100%; background: #ff0000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
	                              </div>
	                          </div>
	                         </div>
                           
                        </div>
                        <div ng-if='show==1'>
                          <p class="YWtip">{{todayDate}}平均速率：</p>
                          <div class="row YWcon">
	                          <!-- <div class="col-sm-3">
	                              <p class="YWleft" ng-repeat='item in avgData'>{{item.svrNodeName}}</p>
	                          </div> -->
	                          <div class="col-sm-8 itemMain">
	                              <div class="YWspeedBar-sm" ng-repeat='item in avgData'>
		                              <p class='itemNamet'>{{item.svrNodeName}}</p>
		                              <span ng-if='item.value/avgvalue*100<=80' ng-attr-style="width:{{(item.value/avgvalue*100).toFixed(2)}}%; background: #71cc21;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/avgvalue*100>80&&item.value/avgvalue*100<=90' ng-attr-style="width:{{(item.value/avgvalue*100).toFixed(2)}}%; background: #ffc600;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/avgvalue*100>90&&item.value/avgvalue*100<=95' ng-attr-style="width:{{(item.value/avgvalue*100).toFixed(2)}}%; background: #ff6000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/avgvalue*100>95&&item.value/avgvalue*100<=100' ng-attr-style="width:{{(item.value/avgvalue*100).toFixed(2)}}%; background: #ff0000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/avgvalue*100>100' style="width:100%; background: #ff0000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
	                              </div>
	                             
	                          </div>
	                      </div>
                            
                        </div>
                        <div ng-if='show==3'>
	                      <p class="YWtip">{{todayDate}}峰值速率：</p>
	                      <div class="row YWcon">
	                          <!-- <div class="col-sm-3">
	                              <p class="YWleft" ng-repeat='item in maxData'>{{item.svrNodeName}}</p>
	                          </div> -->
	                          <div class="col-sm-8 itemMain">
	                              <div class="YWspeedBar-sm" ng-repeat='item in maxData'>
		                               <p class='itemNamet'>{{item.svrNodeName}}</p>
		                              <span ng-if='item.value/maxvalue*100<=80' ng-attr-style="width:{{(item.value/maxvalue*100).toFixed(2)}}%; background: #71cc21;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/maxvalue*100>80&&item.value/maxvalue*100<=90' ng-attr-style="width:{{(item.value/maxvalue*100).toFixed(2)}}%; background: #ffc600;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/maxvalue*100>90&&item.value/maxvalue*100<=95' ng-attr-style="width:{{(item.value/maxvalue*100).toFixed(2)}}%; background: #ff6000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/maxvalue*100>95&&item.value/maxvalue*100<=100' ng-attr-style="width:{{(item.value/maxvalue*100).toFixed(2)}}%; background: #ff0000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/maxvalue*100>100' style="width:100%; background: #ff0000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
	                              </div>
	                          </div>

	                      </div>
                            
                        </div>
                        <div ng-if='show==4' >
	                      <p class="YWtip">{{todayDate}}传输速率：</p>
	                      <div class="row YWcon">
	                          <!-- <div class="col-sm-3">
	                              <p class="YWleft" ng-repeat='item in curData'>{{item.svrNodeName}}</p>
	                              
	                          </div> -->
	                          <div class="col-sm-8 itemMain">
	                              <div class="YWspeedBar-sm" ng-repeat='item in curData'>
		                               <p class='itemNamet'>{{item.svrNodeName}}</p>
		                              <span ng-if='item.value/curvalue*100<=80' ng-attr-style="width:{{(item.value/curvalue*100).toFixed(2)}}%; background: #71cc21;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/curvalue*100>80&&item.value/curvalue*100<=90' ng-attr-style="width:{{(item.value/curvalue*100).toFixed(2)}}%; background: #ffc600;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/curvalue*100>90&&item.value/curvalue*100<=95' ng-attr-style="width:{{(item.value/curvalue*100).toFixed(2)}}%; background: #ff6000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/curvalue*100>95&&item.value/curvalue*100<=100' ng-attr-style="width:{{(item.value/curvalue*100).toFixed(2)}}%; background: #ff0000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span>
		                              <span ng-if='item.value/curvalue*100>100' style="width:100%; background: #ff0000;">
		                                <b class="gunTipt" ng-if='item.value>=10000'>{{(item.value/10000).toFixed(2)}}万条/分</b>
		                                <b class="gunTipt" ng-if='item.value<10000'>{{item.value}}条/分</b>
		                              </span> 	                               
	                              </div>
	                             
	                          </div>
	                      </div>
                            
                        </div>
                    </div>
                    <div class="unifyborder unifyFWQ">
                        <h4>服务器状态</h4>
                         <ul class="clearfix">
                            <li ng-class="{'YWactive':FWQtabNum==1}" ng-click='servers()'>服务器状况</li>
                            <li ng-class="{'YWactive':FWQtabNum==2}" ng-click='redius()'>redis监控</li>
                           <!--  <li ng-class="{'YWactive':FWQtabNum==3}" ng-click='oracle()'>oracle状态</li> -->
                           <li ng-class="{'YWactive':FWQtabNum==4}" ng-click='tomcat()'>tomcat状态</li>
                        </ul>
                        <div class="FWQbox">
                           <!--  <span class="FWQup" ng-click='FWQup()'></span>
                            <span class="FWQdown" ng-click='FWQdown()'></span> -->
                          <div class="FWQslide" ng-if='serverShow==1' ng-repeat='(key,value) in servesData'>
                            
                            <div class="clearfix">
                               <p class="YWtip">{{value.objName}}:</p>
                            <div class="row">
                              <!-- <div class="col-sm-4">
                                  <p class="FWQleft" ng-repeat='(key1,value1) in value.data'>{{value1.keyCn}}</p>
                              </div> -->
                              <div class="col-sm-8 itemMain">
                                  <div class="FWQspeedBar-sm" ng-repeat='(key1,value1) in value.data'>
                                     <div ng-if='"cpu"==value1.key||"memuse"==value1.key' style='display:inline-block;width: 100%;'>
                                        <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value' ng-attr-style="width:{{value1.value}}%; background: #71cc21;">
                                              <b class='gunTipt'  ng-if='100<value1.value'>100%</b>
                                              <b class='gunTipt'  ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span> 
                                        <span  ng-if='80<value1.value&&90>=value1.value' ng-attr-style="width:{{value1.value}}%; background: #ffc600;">
                                              <b class='gunTipt' ng-if='100<value1.value'>100%</b>
                                              <b class='gunTipt' ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span>
                                        <span  ng-if='90<value1.value&&95>=value1.value' ng-attr-style="width:{{value1.value}}%; background:#ff6000;">
                                              <b class='gunTipt'  ng-if='100<value1.value'>100%</b>
                                              <b class='gunTipt'  ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span>
                                        <span  ng-if='95<value1.value&&100>=value1.value' ng-attr-style="width:{{value1.value}}%; background:#ff0000;">
                                              <b class='gunTipt' ng-if='100<value1.value'>100%</b>
                                              <b class='gunTipt' ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span>
                                        <span  ng-if='100<value1.value' style="width:100%; background:#ff0000;">
                                              <b class='gunTipt' ng-if='100<value1.value'>100%</b>
                                              <b class='gunTipt' ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span>  
                                     </div>
                                    <!--  <div ng-if='"hdisk"==value1.key' style='display:inline-block;width: 100%;'>
                                       <div ng-repeat='(key2,value2) in value.data'>
	                                       <p class='itemNamet'>{{key2}}</p>
	                                        <span  ng-if='80>=value2[0]' ng-attr-style="width:{{value2[0]}}%; background: #71cc21;">
	                                              <b class='gunTipt'  ng-if='100<value2[0]'>100%</b>
	                                              <b class='gunTipt'  ng-if='100>=value2[0]'>{{value2[0]}}%</b>
	                                        </span> 
	                                        <span  ng-if='80<value2[0]&&90>=value2[0]' ng-attr-style="width:{{value2[0]}}%; background: #ffc600;">
	                                              <b class='gunTipt' ng-if='100<value2[0]'>100%</b>
	                                              <b class='gunTipt' ng-if='100>=value2[0]'>{{value2[0]}}%</b>
	                                        </span>
	                                        <span  ng-if='90<value2[0]&&95>=value2[0]' ng-attr-style="width:{{value2[0]}}%; background:#ff6000;">
	                                              <b class='gunTipt'  ng-if='100<value2[0]'>100%</b>
	                                              <b class='gunTipt'  ng-if='100>=value2[0]'>{{value2[0]}}%</b>
	                                        </span>
	                                        <span  ng-if='95<value2[0]&&100>=value2[0]' ng-attr-style="width:{{value2[0]}}%; background:#ff0000;">
	                                              <b class='gunTipt' ng-if='100<value2[0]'>100%</b>
	                                              <b class='gunTipt' ng-if='100>=value2[0]'>{{value2[0]}}%</b>
	                                        </span>
	                                        <span  ng-if='100<value2[0]' style="width:100%; background:#ff0000;">
	                                              <b class='gunTipt' ng-if='100<value2[0]'>100%</b>
	                                              <b class='gunTipt' ng-if='100>=value2[0]'>{{value2[0]}}%</b>
	                                        </span>                                       
                                       </div>
                                     </div> -->
                                     <div ng-if='"recv"==value1.key||"send"==value1.key' style='display:inline-block;width: 100%;'>
                                        <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value/10240' ng-attr-style="width:{{value1.value/10240}}%; background: #71cc21;">
                                          
                                           <b  class='gunTipt'>{{(value1.value/10240).toFixed(2)}}%</b>
                                        </span> 
                                        <span  ng-if='80<value1.value/10240&&90>=value1.value/10240' ng-attr-style="width:{{value1.value/10240}}%; background: #ffc600;">
                                           
                                           <b class='gunTipt' >{{(value1.value/10240).toFixed(2)}}%</b>
                                        </span>
                                        <span  ng-if='90<value1.value/10240&&95>=value1.value/10240' ng-attr-style="width:{{value1.value/10240}}%; background:#ff6000;">
                                          
                                           <b class='gunTipt'>{{(value1.value/10240).toFixed(2)}}%</b>
                                        </span>
                                        <span  ng-if='95<value1.value/10240&&100>=value1.value/10240' ng-attr-style="width:{{value1.value/10240}}%; background:#ff0000;">
                                           
                                           <b class='gunTipt'>{{(value1.value/10240).toFixed(2)}}%</b>
                                        </span>
                                        <span  ng-if='100<value1.value/10240' style="width:100%; background:#ff0000;">
                                           <b class='gunTipt' ng-if='100<value1.value/10240'>100%</b>
                                          
                                        </span> 
                                     </div>
                                  </div>
                              </div>
                          </div>
                        </div> 
                        
                    </div>
                    
                 <div ng-if='serverShow==2' ng-repeat='(key,value) in redisData'>
                          <div class="clearfix">
                            <p class="YWtip">{{value.objName}}：</p>
                            <div class="row">
                              <!-- <div class="col-sm-4">
                                  <p class="FWQleft" ng-repeat='(key1,value1) in value.data'>{{value1.keyCn}}</p>
                              </div> -->
                              <div class="col-sm-8 itemMain">
                                  <div class="FWQspeedBar-sm" ng-repeat='(key1,value1) in value.data'>
                                  
                                    <div ng-if='"memuse"==value1.key' style='display:inline-block;width: 100%;'>
                                        <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value' ng-attr-style="width:{{value1.value}}%; background: #71cc21;">
                                          <b class="gunTipt" ng-if='100<value1.value'>100%</b>
                                          <b class="gunTipt" ng-if='100>=value1.value'>{{value1.value}}%</b>  
                                        </span> 
                                        <span  ng-if='80<value1.value&&90>=value1.value' ng-attr-style="width:{{value1.value}}%; background: #ffc600;">
                                          <b class="gunTipt" ng-if='100<value1.value'>100%</b>
                                          <b class="gunTipt" ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span>
                                        <span  ng-if='90<value1.value&&95>=value1.value' ng-attr-style="width:{{value1.value}}%; background:#ff6000;">
                                          <b class="gunTipt" ng-if='100<value1.value'>100%</b>
                                          <b class="gunTipt" ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span>
                                        <span  ng-if='95<value1.value&&100>=value1.value' ng-attr-style="width:{{value1.value}}%; background:#ff0000;">
                                          <b class="gunTipt" ng-if='100<value1.value'>100%</b>
                                          <b class="gunTipt" ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span>
                                        <span  ng-if='100<value1.value' style="width:100%; background:#ff0000;">
                                          <b class="gunTipt" ng-if='100<value1.value'>100%</b>
                                          <b class="gunTipt" ng-if='100>=value1.value'>{{value1.value}}%</b>
                                        </span>  
                                     </div>
                                     <div ng-if='"links"==value1.key' style='display:inline-block;width: 100%;'> <!-- (连接数 最大为3000) -->
                                        <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='2000>=value1.value' ng-attr-style="width:{{value1.value/30}}%; background: #71cc21;">
                                          <b class="gunTipt">{{value1.value}}</b>
                                        </span> 
                                        <span  ng-if='2000<value1.value&&2500>=value1.value' ng-attr-style="width:{{value1.value/30}}%; background: #ffc600;">
                                           <b class="gunTipt">{{value1.value}}</b>
                                        </span>
                                        <span  ng-if='2500<value1.value&&3000>=value1.value' ng-attr-style="width:{{value1.value/30}}%; background:#ff6000;">
                                           <b class="gunTipt">{{value1.value}}</b>
                                        </span>
                                        <span  ng-if='3000<value1.value' style="width:100%; background:#ff0000;">
                                           <b class="gunTipt">{{value1.value}}</b>
                                        </span>  
                                     </div>
                                     <div ng-if='"savestatus"==value1.key' style='display:inline-block;width: 100%;'>
                                        <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='"0"==value1.value' style="width:100%; background:#71cc21 ;">
                                          <b class="gunTipt">ok</b>
                                        </span> 
                                        <span  ng-if='"1"==value1.value' style="width:0%; background: #ff0000 ;">
                                          <b class="gunTipt">失败</b>
                                        </span>
                                     </div> 
                                     <!-- <div ng-if='"主从复制"==value1.keyCn' style='display:inline-block'>
                                        <span  ng-if='0==value1.savestatus' style="width:{{100}}%; background: #71cc21;"></span> 
                                        <span  ng-if='1==value1.savestatus' style="width:{{value1.value/5000}}%; background: #ff6000;"></span>
                                     </div> 状态字段不知道-->
                                     
                                  </div>
                                
                              </div>
                              <!-- <div class="col-sm-2">
                               <div ng-repeat='(key1,value1) in value.data'>
                                <div ng-if='"memuse"==value1.key' style='display:inline-block'>
                                    <p class="YWright" ng-repeat='(key1,value1) in value.data' ng-if='100<value1.value'>100%</p>
                                    <p class="YWright" ng-repeat='(key1,value1) in value.data' ng-if='100>=value1.value'>{{value1.value}}%</p>  
                                </div>
                                <div ng-if='"links"==value1.key' style='display:inline-block'>
                                    <p class="YWright" ng-repeat='(key1,value1) in value.data'>{{value1.links}}</p>
                                </div>
                                <div ng-if='"持久存储"==value1.keyCn' style='display:inline-block'>
                                   <p ng-repeat='(key1,value1) in value.data' ng-if='0==value1.savestatus'>成功</p>
                                   <p ng-repeat='(key1,value1) in value.data' ng-if='0==value1.savestatus'> 失败</p>
                               </div> 
                              </div> 
                              </div> -->
                          </div>
                      </div>
                     
                       
                      </div>  
                      
                      <div ng-if='serverShow==4' ng-repeat='(key,value) in tomcatData'>
                          <div class="clearfix">
                            <p class="YWtip">{{value.objName}}:</p>
                            <div class="row">
                              <!-- <div class="col-sm-4">
                                  <p class="FWQleft" ng-repeat='(key1,value1) in value.data'>{{value1.keyCn}}</p>
                              </div> -->
                              <div class="col-sm-8 itemMain">
                                  <div class="FWQspeedBar-sm" ng-repeat='(key1,value1) in value.data'>  <!-- jvm (不要告警)-->
                                     <div ng-if='"mem"==value1.key' style='display:inline-block;width: 100%;'>
                                       <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span style="width:100%; background:#71cc21;">
                                          <!-- <b class="gunTipt"  ng-if='100<value1.value*1024/3000'>100%</b> -->
                                          <b class="gunTipt">{{value1.value*1024}}M</b>
                                        </span>
                                        <!-- <span  ng-if='80>=value1.value*1024/30' ng-attr-style="width:{{value1.value*1024/30}}%; background: #71cc21;">
                                          <b class="gunTipt"  ng-if='100<value1.value*1024/3000'>{{value1.value*1024}}M</b>
                                          <b class="gunTipt">{{value1.value*1024}}M</b>    ng-if='100>=value1.value*1024/3000'
                                        </span> 
                                        <span  ng-if='80<value1.value*1024/30&&90>=value1.value*1024/30' ng-attr-style="width:{{value1.value*1024/30}}%; background: #71cc21;">
                                          <b class="gunTipt"  ng-if='100<value1.value*1024/3000'>100%</b>
                                          <b class="gunTipt">{{value1.value*1024}}M</b>
                                        </span>
                                        <span  ng-if='90<value1.value*1024/30&&95>=value1.value*1024/30' ng-attr-style="width:{{value1.value*1024/30}}%; background:#71cc21;">
                                          <b class="gunTipt"  ng-if='100<value1.value*1024/3000'>100%</b>
                                          <b class="gunTipt">{{value1.value*1024}}M</b>
                                        </span>
                                        <span  ng-if='95<value1.value*1024/30&&100>=value1.value*1024/30' ng-attr-style="width:{{value1.value*1024/30}}%; background:#71cc21;">
                                          <b class="gunTipt"  ng-if='100<value1.value*1024/3000'>100%</b>
                                          <b class="gunTipt" >{{value1.value*1024}}M</b>
                                        </span>
                                        <span  ng-if='100<value1.value*1024/30' style="width:100%; background:#71cc21;">
                                          <b class="gunTipt"  ng-if='100<value1.value*1024/3000'>100%</b>
                                          <b class="gunTipt">{{value1.value*1024}}M</b>
                                        </span>   -->
                                     </div>
                                     <div ng-if='"reqs"==value1.key' style='display:inline-block;width: 100%;'> <!-- 总请求数 10000-->
                                        <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value/100' ng-attr-style="width:{{value1.value/100}}%; background: #71cc21;">
                                          
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span> 
                                        <span  ng-if='80<value1.value/100&&90>=value1.value/100' ng-attr-style="width:{{value1.value/100}}%; background: #ffc600;">
                                           
                                           <b class="gunTipt" >{{value1.value}}次</b>
                                        </span>
                                        <span  ng-if='90<value1.value/100&&95>=value1.value/100' ng-attr-style="width:{{value1.value/100}}%; background:#ff6000;">
                                          
                                           <b class="gunTipt"'>{{value1.value}}次</b>
                                        </span>
                                        <span  ng-if='95<value1.value/100&&100>=value1.value/100' ng-attr-style="width:{{value1.value/100}}%; background:#ff0000;">
                                          
                                           <b class="gunTipt">{{value1.value}}次</b> 
                                        </span>
                                        <span  ng-if='100<value1.value/100' style="width:100%; background:#ff0000;">
                                           
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span> 
                                     </div>
                                      <!-- <div ng-if='"reqsuc"==value1.key' style='display:inline-block;width: 100%;'> 成功请求数
                                         <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value/value.data.reqs.value*100' ng-attr-style="width:{{value1.value/value.data.reqs.value*100}}%; background: #71cc21;">
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span> 
                                        <span  ng-if='80<value1.value/value.data.reqs.value*100&&90>=value1.value/value.data.reqs.value*100' ng-attr-style="width:{{value1.value/value.data.reqs.value*100}}%; background: #ffc600;">
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span>
                                        <span  ng-if='90<value1.value/value.data.reqs.value*100&&95>=value1.value/value.data.reqs.value*100' ng-attr-style="width:{{value1.value/value.data.reqs.value*1000}}%; background:#ff6000;">
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span>
                                        <span  ng-if='95<value1.value/value.data.reqs.value*100&&100>=value1.value/value.data.reqs.value*100' ng-attr-style="width:{{value1.value/value.data.reqs.value*100}}%; background:#ff0000;">
                                           <b class="gunTipt">{{value1.value}}次</b> 
                                        </span>
                                        <span  ng-if='100<value1.value/value.data.reqs.value*100' style="width:100%; background:#ff0000;">
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span> 
                                     </div> -->
                                      <div ng-if='"reqfail"==value1.key' style='display:inline-block;width: 100%;'> <!-- 失败请求数 -->
                                        <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value/value.data.reqs.value*100' ng-attr-style="width:{{value1.value/value.data.reqs.value*100}}%; background: #71cc21;"> 
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span> 
                                        <span  ng-if='80<value1.value/value.data.reqs.value*100&&90>=value1.value/value.data.reqs.value*100' ng-attr-style="width:{{value1.value/value.data.reqs.value*100}}%; background: #ffc600;">
                                           <b class="gunTipt" >{{value1.value}}次</b>
                                        </span>
                                        <span  ng-if='90<value1.value/value.data.reqs.value*100&&95>=value1.value/value.data.reqs.value*100' ng-attr-style="width:{{value1.value/value.data.reqs.value*100}}%; background:#ff6000;">
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span>
                                        <span  ng-if='95<value1.value/value.data.reqs.value*100&&100>=value1.value/value.data.reqs.value*100' ng-attr-style="width:{{value1.value/value.data.reqs.value*100}}%; background:#ff0000;">
                                           <b class="gunTipt">{{value1.value}}次</b> 
                                        </span>
                                        <span  ng-if='100<value1.value/value.data.reqs.value*100' style="width:100%; background:#ff0000;">
                                           <b class="gunTipt">{{value1.value}}次</b>
                                        </span> 
                                     </div>   
                                      <div ng-if='"memrat"==value1.key' style='display:inline-block;width: 100%;'> <!-- 内存使用率 -->
                                        <p class='itemName'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value' ng-attr-style="width:{{value1.value}}%; background: #71cc21;">
                                           <b class="gunTipt">{{value1.value}}</b>
                                        </span> 
                                        <span  ng-if='80<value1.value' ng-attr-style="width:{{value1.value}}%; background: #ffc600;">
                                           <b class="gunTipt">{{value1.value}}</b>
                                        </span>
                                        <span  ng-if='90<value1.value' ng-attr-style="width:{{value1.value}}%; background:#ff6000;">
                                           <b class="gunTipt">{{value1.value}}</b>
                                        </span>
                                        <span  ng-if='95<value1.value' ng-attr-style="width:{{value1.value}}%; background:#ff0000;">
                                           <b class="gunTipt">{{value1.value}}</b> 
                                        </span>
                                        <span  ng-if='100<value1.value' style="width:100%; background:#ff0000;">
                                           <b class="gunTipt">{{value1.value}}</b>
                                        </span> 
                                     </div>                                   
                                     <div ng-if='"threads"==value1.key' style='display:inline-block;width: 100%;'> <!-- 运行线程数 -->
                                        <p class='itemNamet'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value' ng-attr-style="width:{{value1.value/15}}%; background: #71cc21;">
                                          
                                           <b class="gunTipt">{{value1.value}}条</b>
                                        </span> 
                                        <span  ng-if='80<value1.value/15&&90>=value1.value/15' ng-attr-style="width:{{value1.value/15}}%; background: #ffc600;">
                                          
                                           <b class="gunTipt">{{value1.value}}条</b>
                                        </span>
                                        <span  ng-if='90<value1.value/15&&95>=value1.value/15' ng-attr-style="width:{{value1.value/15}}%; background:#ff6000;">
                                           
                                           <b class="gunTipt">{{value1.value}}条</b>
                                        </span>
                                        <span  ng-if='95<value1.value/15&&100>=value1.value/15' ng-attr-style="width:{{value1.value/15}}%; background:#ff0000;">
                                         
                                           <b class="gunTipt">{{value1.value}}条</b> 
                                        </span>
                                        <span  ng-if='100<value1.value/15' style="width:100%; background:#ff0000;">
                                           
                                           <b class="gunTipt">{{value1.value}}条</b>
                                        </span> 
                                     </div>
                                     <div ng-if='"reqmaxtime"==value1.key' style='display:inline-block;width: 100%;'> <!-- 请求最长处理时长秒  300-->
                                        <p class='itemName'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value/3000' ng-attr-style="width:{{(value1.value/3000).toFixed(2)}}%; background: #71cc21;">
                                          
                                           <b class="gunTip" >{{(value1.value/1000).toFixed(2)}}s</b>
                                        </span> 
                                        <span  ng-if='80<value1.value/3000&&90>=value1.value/3000' ng-attr-style="width:{{(value1.value/3000).toFixed(2)}}%; background: #ffc600;">
                                          
                                           <b class="gunTip" >{{(value1.value/1000).toFixed(2)}}s</b>
                                        </span>
                                        <span  ng-if='90<value1.value/3000&&95>=value1.value/3000' ng-attr-style="width:{{(value1.value/3000).toFixed(2)}}%; background:#ff6000;">
                                          
                                           <b class="gunTip">{{(value1.value/1000).toFixed(2)}}s</b>
                                        </span>
                                        <span  ng-if='95<value1.value/3000&&100>=value1.value/3000' ng-attr-style="width:{{(value1.value/3000).toFixed(2)}}%; background:#ff0000;">
                                          
                                           <b class="gunTip" >{{(value1.value/1000).toFixed(2)}}s</b> 
                                        </span>
                                        <span  ng-if='100<value1.value/3000' style="width:100%; background:#ff0000;">
                                          
                                           <b class="gunTip" >{{(value1.value/1000).toFixed(2)}}s</b>
                                        </span> 
                                     </div>
                                     <div ng-if='"esptime"==value1.key' style='display:inline-block;width: 100%;'> <!-- 响应时间（毫秒） 后台返回的单位为 毫秒  150-->
                                        <p class='itemName'>{{value1.keyCn}}</p>
                                        <span  ng-if='80>=value1.value/1500' ng-attr-style="width:{{(value1.value/1500).toFixed(2)}}%; background: #71cc21;">
                                           
                                           <b class="gunTip" >{{(value1.value/1000).toFixed(2)}}s</b>
                                        </span> 
                                        <span  ng-if='80<value1.value/1500&&90>=value1.value/1500' ng-attr-style="width:{{(value1.value/1500).toFixed(2)}}%; background: #ffc600;">
                                         
                                           <b class="gunTip">{{(value1.value/1000).toFixed(2)}}s</b>
                                        </span>
                                        <span  ng-if='90<value1.value/1500&&95>=value1.value/1500' ng-attr-style="width:{{(value1.value/1500).toFixed(2)}}%; background:#ff6000;">
                                          
                                           <b class="gunTip">{{(value1.value/1000).toFixed(2)}}s</b>
                                        </span>
                                        <span  ng-if='95<value1.value/1500&&100>=value1.value/1500' ng-attr-style="width:{{(value1.value/1500).toFixed(2)}}%; background:#ff0000;">
                                          
                                           <b class="gunTip" >{{(value1.value/1000).toFixed(2)}}s</b> 
                                        </span>
                                        <span  ng-if='100<value1.value/1500' style="width:100%; background:#ff0000;">
                                           
                                           <b class="gunTip">{{(value1.value/1000).toFixed(2)}}s</b>
                                        </span> 
                                     </div>
                                  </div>
                              </div>
                             <!--  <div class="col-sm-2">
                                    <div ng-if='"recv"!=value1.key' style='display:inline-block'>
                                        <p class="YWright" ng-repeat='(key1,value1) in value.data' ng-if='100<value1.value'>100%</p>
                                        <p class="YWright" ng-repeat='(key1,value1) in value.data' ng-if='100>=value1.value'>{{value1.value}}%</p>  
                                     </div>
                                     <div ng-if='"recv"==value1.key' style='display:inline-block'>
                                        <p class="YWright" ng-repeat='(key1,value1) in value.data' ng-if='100<value1.value/10240'>100%</p>
                                        <p class="YWright" ng-repeat='(key1,value1) in value.data' ng-if='100>=value1.value/10240'>{{value1.value/10240}}%</p>
                                     </div>
                              </div> -->
                          </div>
                      </div>
                      </div>                                        
                    
                    
                    
                    
                    
                    </div>
              </div>
                    <div class="unifyborder unifyJG" >
                        <h4>警告消息</h4>
                        <!-- <span class="JGup" ng-click='JGup()'></span>
                        <span class="JGdown" ng-click='JGdown()'></span> -->
                        <div class="JGbox" id='box'>  
                           <div class="JGslide" id='ul1'>
	                           <p ng-repeat='item in warnMessageData'>{{item.warnStart}} 
	                              <span ng-if='"1"==item.warnLevel' class="unifyC-1">{{item.msg}}</span>
	                              <span ng-if='"2"==item.warnLevel' class="unifyC-2">{{item.msg}}</span>
	                              <span ng-if='"3"==item.warnLevel' class="unifyC-3">{{item.msg}}</span>
	                            </p> 
                             <!-- <p>2017年9月17日10点20分<span class="unifyC-2">1广东联通网络测试出现2广东联通网络测试出现堵塞2广东联通网络测试出现堵塞堵塞sadf</span></p>
                             <p>2017年9月17日9点45分<span class="unifyC-1">2oa系统网络无法2广东联通网络测试出现堵塞2广东联通网络测试出现堵塞连接asdf</span></p> -->

                           </div>  
                           <div class="JGslide" id='ul2'></div> 
                        </div>
                    </div>
                </div>
                <!-- 中部图表 -->
                <div class="unify-5 left unifyborder unifyDX">
                    <h4>短信平台</h4>
                    <div id="realTime"></div>
                    <div id="cache"></div>
                    <div>
                        <div id="realTimeCircle"></div>
                        <div id="SMSsend"></div>
                    </div>
                </div>
                <div class="unify-2 left unifyborder unifyYY rel">
                  <h4>运营商  </h4>
                 <button ng-click='select()' class="btn btn-primary" style='padding:1px 3px;margin:0 0 10px 20px;height:26px;line-height:26px;'>选择显示的网关 <img ng-if='selectS==0' src='img/selectR.png' style='width:12px;margin-left:3px'><img ng-if='selectS==1' src='img/selectB.png' style='width:12px;margin-left:3px'></button>
                  <div ng-show='selectShow' class='abs clearfix' style='left:10px;top:62px;width:300px;min-height:100px;padding:12px;color:#000;background-color:#fff;'>
	                    <div style='display:inline-block;' id='gateLink'> </div>
                        <button ng-click='gateSave()' class="btn btn-primary" style='display:block;margin-left:80%;padding:1px 3px;'>确定</button>
                  </div>
                    <p>网关接口发送速率</p>
                    <div class='findgateCon'>
                      <div ng-repeat='item in findGateData' on-finish-render-filters><div id='{{item.itemName}}' style='width:170px;height:192px'></div></div> 
                    </div>
                    <!-- <div id="yidong"></div>
                    <div id="liantong"></div>
                    <div id="dianxin"></div>
                    <div id="sanfang"></div> -->
                </div>
           
        </div> 
        <div class="unifyFoot">
                <p>
                <span class="unifyRec unifybg-normal"></span>&nbsp;正常
                <span class="unifyRec unifybg-1"></span>&nbsp;一级告警
                <span class="unifyRec unifybg-2"></span>&nbsp;二级预警
                <span class="unifyRec unifybg-3"></span>&nbsp;三级预警
                </p>
        </div>
    </div>
  </div>    
<!--右侧内容结束-->


